package com.dom.api.stor;

import com.dom.common.model.vo.stor.*;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@RequestMapping("/invo/stor")
public interface StorStockinApi {
    /**
     * 查询入库单-分页查询
     * @param request
     * @return
     */
    @RequestMapping(value = "/findStockinPager", method = RequestMethod.POST)
    S019A findStockinPager(@RequestBody S019R request);

    /**
     * 录入采购单
     * @param request
     * @return
     */
    @RequestMapping(value = "/addStockinBill", method = RequestMethod.POST)
    S010A addStockinBill(@RequestBody S010R request);

    /**
     * 查询采购但明细
     * @param request
     * @return
     */
    @RequestMapping(value = "/findStockinDetailList", method = RequestMethod.POST)
    S029A findStockinDetailList(@RequestBody S029R request);

    @RequestMapping(value = "/editStockinBill", method = RequestMethod.POST)
    S012A editStockinBill(@RequestBody S012R request);

    @RequestMapping(value = "/delStockinBill", method = RequestMethod.POST)
    S011A delStockinBill(@RequestBody S011R request);

    /**
     * 审核入库单，审核成功后增加仓库库存
     * @param request
     * @return
     */
    @RequestMapping(value = "/verfyStockIn", method = RequestMethod.POST)
    S015A verfyStockIn(@RequestBody S015R request);
}
